package org.jod.anarchytrek.componentfactory;

import java.util.Map;

import org.jod.anarchytrek.AComponent;
import org.jod.anarchytrek.component.Eps;
import org.jod.anarchytrek.info.EpsInfo;

public class EpsFactory extends AComponentFactory {

    private Map _infoComponents;
    private Map _components;
    private int _structuralUnits;

    public EpsFactory(Map aInfoComponents, Map aComponents, int aShipStructuralUnits) {
        _infoComponents = aInfoComponents;
        _components = aComponents;
        _structuralUnits = aShipStructuralUnits;
    }
    
    public void build() {
            
        EpsInfo infoEps = new EpsInfo();
        _infoComponents.put(AComponent.EPS, infoEps);
        _components.put(AComponent.EPS, new Eps(_structuralUnits, infoEps, 0));
    }
        
    
            
}
